package com.jk.mapper;

import com.jk.bean.Author;
import com.jk.bean.HuiFu;
import com.jk.bean.PingLun;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TaRenZhuYeMapper {
    List<Author> queryAuthor(@Param("id") String id);

    List<PingLun> queryPingLun(@Param("id")String id, @Param("nameid")String nameid);

    void addPingLun(PingLun pingLun);
    //添加恢复
    void addHuiFu(HuiFu huiFu);

    Author  queryPinglunren(@Param("id") Integer pinglunrenid);

    List<HuiFu> queryHuiFu(String pinglunid);

    @Select("select text from t_stv")
    List<String> queryStv();
}
